2 require_once 'include/utils.php';
4 class CheckPlatformTest extends Sugar_PHPUnit_Framework_TestCase
6 public function setUp()
8 $this->_isOnWindows = (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN');
11 public function testVerifyIfWeAreOnWindows()
13 $this->assertEquals(is_windows(), $this->_isOnWindows);